#!/usr/bin/env python
# -*- coding: utf-8 -*-
from typing import TypeVar

from app.models import User
from pydantic import BaseModel

from app.dao.base_dao import BaseDao
from app.db.base_class import Base
from app.models.constant import Constant
from app.models.strategy import Strategy
from app.models.strategy_code import StrategyCode
from app.models.user_setting import UserSetting


class StrategyCodeDao(BaseDao[StrategyCode]):
    def __init__(self):
        super(StrategyCodeDao, self).__init__()
        self.modelClass = StrategyCode
        self.id = StrategyCode.id


strategyCodeDao = StrategyCodeDao()
